﻿@using Framework.Util.Helpers
@model MvcContrib.Pagination.IPagination<Project.Domain.Entities.Deposit>                    
@{
    ViewBag.Title = "ListAllDeposit";
}
<div id="menucontainer">
    <ul id="menu" style=" text-align:left;">
        <li>@Html.ActionLink("List Users", "Allusers", "manageusers")</li>
        <li>@Html.ActionLink("List Deposit", "listalldeposit", "manageusers")</li>
        <li>@Html.ActionLink("List Withdraw", "Listallwithdraw", "manageusers")</li>
    </ul>
</div>
<h2>Danh Sách Deposit</h2>
<table style=" width:220px;" class="table_content">
    <tr style=" text-align:center;">
        <th>
            Type
        </th>
        <th>
            UserName
        </th>
        <th>
            Amount
        </th>
    </tr>
    @{
        var fch = 1;
        var refix = "fl";
    }
    @foreach (var item in Model)
    {
        fch = fch + 1;
        refix = fch % 2 == 0 ? "tr" : "fl";
        <tr class="@Html.Raw(refix)status">
            <td>
                <img src="@Url.Content("~/Content/images/lricon.gif")" alt="Alternate Text" />
            </td>
            <td>
                @item.User.UserName
            </td>
            <td>
                @string.Format("{0}$", Html.Slip(item.Amount.ToString()))
            </td>
        </tr>        
    }
</table>
